#include "shape.h"

#ifndef RECTANGLE_H
#define RECTANGLE_H

class Rectangle : public Shape
{
public:
    Rectangle();
    Rectangle(const Point &inputVertex, const int &inputWidth, const int &inputHeight);
    Rectangle(const int &x, const int &y, const int &inputWidth, const int &inputHeight);
    ~Rectangle();

    void    moveShape(const int &x, const int &y);
    void    extensionShape(const double &scale);
    int     getWidth();
    int     getHeight();
    Point   getVertex();
    std::string saveData();
    void setHeight(int value);

private:
    Point   vertex;
    int     width;
    int     height;
};

#endif // RECTANGLE_H
